﻿namespace DTFramework
{
    /// <summary>
    /// 资产默认路径
    /// </summary>
    public static class AssetPath
    {
        public static string GetScriptableAsset(string assetName)
            => $"Assets/GameMain/Scriptables/{assetName}.asset";
        public static string GetDataTableAsset(string assetName, string suffix = "bytes")
            => $"Assets/GameMain/DataTables/{assetName}.{suffix}";
        public static string GetSceneAsset(string assetName)
              => $"Assets/GameMain/Scenes/{assetName}.unity";
        public static string GetEntityAsset(string assetName)
            => $"Assets/GameMain/Entities/{assetName}.prefab";
        public static string GetEntitySpriteAtlasAsset(string assetName,string suffix="spriteatlasv2")
            => $"Assets/GameMain/Entities/SpriteAtlas/{assetName}.{suffix}";
        public static string GetUIFormAsset(string assetName)
            => $"Assets/GameMain/UI/UIForms/{assetName}.prefab";
        public static string GetAudioAsset(string assetName, string suffix = "wav")
            => $"Assets/GameMain/Scenes/{assetName}.{suffix}";
        public static string GetPrefabsAsset(string assetName)
            => $"Assets/GameMain/Prefabs/{assetName}.prefab";
        public static string GetModelAsset(string assetName)
            => $"Assets/GameMain/Models/Prefabs/{assetName}.prefab";
    }

}
